//
//  WDNavController.m
//  Zhihuijinfu
//
//  Created by 王笛 on 2016/11/28.
//  Copyright © 2016年 王笛. All rights reserved.
//

#import "WDNavController.h"

@interface WDNavController () <UIGestureRecognizerDelegate>

@end

@implementation WDNavController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationBar.translucent = NO;
    
    //设置导航条的背景色
    self.navigationBar.barTintColor = WDNavSeleColor;
    
    //导航条文字颜色
    NSDictionary *dict = @{
                           NSForegroundColorAttributeName:ColorForRGB(0xFFFFFF),
                           NSFontAttributeName:[UIFont systemFontOfSize:20]
                           };
    self.navigationBar.titleTextAttributes = dict;
    
}

- (UIViewController *)childViewControllerForStatusBarStyle
{
    return self.topViewController;
}

-(BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
{
    return NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

@end
